package com.tbit.uqbike.object.pojo.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 电池批量新增数据传输对象
 *
 * @Author:BUGTian
 * @DATE: 2022/5/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class BatteryMsgDTO {

    /**
     * 电池编号列表
     */
    @NotNull
    private List<String> batteryNOs;

    /**
     * 电池型号id
     */
    @NotNull
    private Integer batteryModelId;

    /**
     * 区域id
     */
    @NotNull
    private Integer accountId;

    /**
     * 操作密钥
     */
    @NotNull
    @JSONField(serialize = false)
    private String operationKey;
}
